package cn.hairui.blog.service;

import cn.hairui.blog.dao.ArticaltagMapper;
import cn.hairui.blog.entity.Articaltag;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author laoganbu
 * @since 2020-04-07
 */
@Service
public class ArticaltagServiceImpl extends ServiceImpl<ArticaltagMapper, Articaltag> implements ArticaltagService {

    @Autowired
    private ArticaltagMapper articaltagMapper;

    @Override
    public void removeByTagId(int id) {
        articaltagMapper.removeByTagId(id);
    }
}
